package highTech.proxy.proxyClass;

import java.lang.reflect.Method;

public class MyAdvice implements Advice {

	@Override
	public void beforeMethod(Method method) {
		System.out.println(method.getName()+":zhaohui is coming!");

	}

	@Override
	public void afterMethod(Method method) {
		System.out.println(method.getName()+":zhaohui is outing!");

	}

}
